package org.bigdata.framework.core.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 
 * </p>
 *
 * @author dal.anhuifeng
 * @since 2017-04-18
 */
@TableName("search_sort_rule")
public class SearchSortRule implements Serializable {

    private static final long serialVersionUID = 1L;

	/**
	 * 主键ID
	 */
	@TableId(type = IdType.AUTO)
	private Integer id;

	/**
	 * 英文名称
	 */
	@TableField(value="name_en")
	private String nameEn;

	/**
	 * 中文名称
	 */
	@TableField(value="name_zh")
	private String nameZh;

	/**
	 * 排序表达式
	 */
	@TableField(value="sort_expression")
	private String sortExpression;

	/**
	 * 状态（0-待发布 1-发布）
	 */
	private Integer status;

	/**
	 * 排序
	 */
	private Integer sort;

	private Integer scope;
	
	@TableField(value="classes_id")
	private String classesId;

	@TableField(value="is_complex_sort")
	private Integer isComplexSort;
	
	public Integer getIsComplexSort() {
		return isComplexSort;
	}

	public void setIsComplexSort(Integer isComplexSort) {
		this.isComplexSort = isComplexSort;
	}

	public Integer getScope() {
		return scope;
	}

	public void setScope(Integer scope) {
		this.scope = scope;
	}

	public String getClassesId() {
		return classesId;
	}

	public void setClassesId(String classesId) {
		this.classesId = classesId;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getNameEn() {
		return nameEn;
	}

	public void setNameEn(String nameEn) {
		this.nameEn = nameEn;
	}

	public String getNameZh() {
		return nameZh;
	}

	public void setNameZh(String nameZh) {
		this.nameZh = nameZh;
	}

	public String getSortExpression() {
		return sortExpression;
	}

	public void setSortExpression(String sortExpression) {
		this.sortExpression = sortExpression;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getSort() {
		return sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

}
